export default class QueryHandler{
    /** 基本查询字段 */
    mainQuery():QueryField{
        return {
            key: 'id',
            label: '账号',
            placeholder: '输入账号'
        }
    };

    /** 高级查询字段 */
    advances():QueryField[]{
        var arr:QueryField[] = [];
        var tmp:QueryField = {} as any;
        tmp.label = "订单号";
        tmp.key = "serial_no";
        tmp.placeholder = "输入订单号";
        arr.push(tmp);
        tmp= {} as any;
        tmp.label = "商品名称";
        tmp.key = "name";
        tmp.placeholder = "输入商品名称";
        arr.push(tmp);

        return arr;
    }
}